package com.ipc.app.service;

import com.ipc.app.model.User;

/**
 * @author 雪
 * 
 */
public interface UserService {

	/**
	 * @param user
	 */
	public String createUser(User user);

	/**
	 * @param user
	 */
	public void updateUser(User user);

	/**
	 * @param userID
	 * @return
	 */
	public User getUserByID(String userID);

	/**
	 * @param mobile
	 * @param password
	 * @return
	 */
	public User getUserByMobileAndPwd(String mobile, String password);

	/**
	 * @param userID
	 */
	public void updateLastLoginTime(String userID);

	/**
	 * @param mobile
	 * @return
	 */
	public User getUserByMobile(String mobile);

}
